package fr.mywiki.model.ejbAdapter;

import java.rmi.RemoteException;

import javax.ejb.CreateException;
import javax.ejb.EJBException;
import javax.ejb.SessionContext;

public class ServicesAdapter  {
	private static final long serialVersionUID = 1L;

	/** The session context. */
	private javax.ejb.SessionContext sessionCtx;

	public void setSessionContext(SessionContext ctx) throws EJBException, RemoteException {
		sessionCtx = ctx;
	}
	
	protected javax.ejb.SessionContext getSessionCtx() {
		return sessionCtx;
	}

	public void ejbRemove() throws EJBException, RemoteException {}

	public void ejbActivate() throws EJBException, RemoteException {}

	public void ejbPassivate() throws EJBException, RemoteException {}
	
	/**
	 * Default create method
	 * @throws CreateException
	 * @ejb.create-method 
	 */
	public void ejbCreate()
		throws CreateException {
	}
}
